#include<stdio.h>

void my_print()
{
	for(int i=1;i<=10;i++)
	{
		printf("%d ",i);
	}
	printf("\n");
}

int jiechen(int num)
{
	int sum;
	for( sum=1;num>1;num--)
	{
		sum*=num;
	}
	return sum;
}

int cmp_num(int date1,int date2)
{
	if(date1>date2)
	{
		return date1;
	}
	else
	{
		if(date1<date2)
		{
			return date2;
		}
		else
			return 0;
	}
}

int main()
{
	int a,b;
    a=6,b=4;
	my_print();
	printf("!a=%d\n",jiechen(a));
	printf("cmp=%d",cmp_num(a,b));
	return 0;
}
